#ifndef LEVELLOADER_H
#define LEVELLOADER_H

#include "BaseTrigger.h"

enum SensorPosition
{
	SENSOR_LEFT,
	SENSOR_RIGHT,
	SENSOR_TOP,
	SENSOR_BOTTOM
};


class Sensor :
	public BaseTrigger
{
public:
	Sensor(boost::shared_ptr<BaseObject> parent, SensorPosition pos);
	~Sensor(void);
	virtual void collision(boost::shared_ptr<BaseObject> obj, btVector3 &point);
private:
	BaseObjectPtr parent;
	SensorPosition pos;
};
typedef boost::shared_ptr<Sensor> SensorPtr;
#endif